package com.yxj04;

import java.io.*;

public class CopeJavaDemo04 {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("D:\\Ccode\\jdata-structure\\ByteStream9\\src\\com\\yxj04\\ConversionStreamDemo.java"));
        BufferedWriter bw = new BufferedWriter(new FileWriter("D:\\Ccode\\jdata-structure\\ByteStream9\\copy.java"));
        String line;
        while((line=br.readLine()) != null) {
            bw.write(line);
            bw.newLine();
            bw.flush();
        }
        br.close();
        bw.close();
    }
}
